Problems with tag O(k * nlogn)